package com.clayecloud.lib_common.room.entity;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "clientToken")
public class ClientToken {

    @PrimaryKey
    @ColumnInfo(name = "user_id")
    private int userID;

    @ColumnInfo(name = "user_token")
    private String userToken;

    public ClientToken(int userID, String userToken) {
        this.userID = userID;
        this.userToken = userToken;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public String getUserToken() {
        return userToken;
    }

    public void setUserToken(String userToken) {
        this.userToken = userToken;
    }
}
